<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div></div>
    <script>
          // 4、将以下学生信息对象中的学生信息以空格拼接的形式展示到页面的<div></div>中
      const stuObj = {
      	stuId: "20206848235",
      	stuName: "张三",
      	age: "22",
      	gender: "男",
      	className: "20计算机三班",

      }
       document.querySelector('div').innerHTML= Object.values(stuObj).join(' ')
    </script>
  </body>
</html>
